<template>
  <div class="fund-main">
    <div class="fund-main-text">
      <div class="fund-main-text-title"><span>兴全恒裕债券C</span></div>
      <div class="fund-main-text-meta"><span>金牛固收公司出品 收益实力派</span></div>
      <div class="fund-main-text-items">
        <div class="fund-main-text-item">中低风险</div>
        <div class="fund-main-text-item">债券基金</div>
        <div class="fund-main-text-item">开放申赎</div>
      </div>
      <div class="fund-main-text-rate">
          +4.12%
      </div>
      <div class="fund-main-text-meta">成立以来年化增长</div>
      <div class="fund-main-text-purchase">
        立即购买
      </div>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less">
.fund-main {
  position: absolute;
  top: 70px;
  left: 10px;
  // margin:  0 auto;
  width: 95%;
  height: 230px;
  font-size: 14px;
  text-align: center;
  background-color: #FFFFFF;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
  border-radius: 21px;
  font-family: Arial;
}
.fund-main-text {
  text-align: center;
  .fund-main-text-title {
    margin-top: 10px;
    color: rgba(16, 16, 16, 100);
    font-size: 15px;
    font-family: PingFangSC-light;
  }
  .fund-main-text-meta {
    margin-top: 5px;
    color: rgba(162, 163, 164, 100);
    font-size: 12px;
    font-family: PingFangSC-light;
  }
  .fund-main-text-items {
    margin: 0 auto;
    margin-top: 5px;
    margin-bottom: 10px;
    
    display: flex;
    justify-content: space-around;
    width: 75%;
    height: 20px;
    .fund-main-text-item {
      width: 65px;
      line-height: 20px;
      opacity: 0.38;
      background-color: rgba(176, 213, 251, 83);
      color: rgba(16, 16, 16, 100);
      font-size: 14px;
      text-align: center;
      font-family: Arial;
      border: 1px solid rgba(187, 187, 187, 100);

    }
  }
  .fund-main-text-rate {
    color: rgba(224, 19, 36, 100);
    font-size: 48px;
    font-family: PingFangSC-semiBold;
  }
  .fund-main-text-purchase {
    margin: 0 auto;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75%;
    height: 40px;
    border-radius: 19px;
    background-color: rgba(69, 160, 255, 100);
    color: rgba(255, 255, 255, 100);
    font-size: 20px;
    text-align: center;
    font-family: Microsoft Yahei;
    border: 1px solid rgba(187, 187, 187, 100);
  }
}
</style>